package com.example.actuator.common.config;

import com.example.actuator.common.constant.SwitchStatus;
import com.example.actuator.vo.SwitchVO;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SwitchConfig {
    @Bean
    public SwitchVO switchVO() {
        SwitchVO switchVO = new SwitchVO();
        switchVO.setOnOrOff1(SwitchStatus.open);
        switchVO.setOnOrOff2(SwitchStatus.open);
        return switchVO;
    }
}
